<#macro project>
<#include "_layout.html"/>
<@layout>
<!-- contact -->
<div class="gallery">
    <div class="container">
        <div class="bs-example bs-example-tabs" role="tabpanel" data-example-id="togglable-tabs">
            <ul id="myTab" class="nav nav-tabs" role="tablist">
                <@jp.taxonomys module="project">
                <#list taxonomys as taxonomy>
                    <#if taxonomy.title !="PROJECTS">
                        <#if taxonomy.title =="Carpet Title">
                            <li role="presentation" class="active"><a href="${taxonomy.url}" id="project${taxonomy.id!}-tab" role="tab" data-toggle="tab" aria-controls="project${taxonomy.id!}"  aria-expanded="true">${taxonomy.title!}</a></li>
                            <#else>
                                <li role="presentation"><a href="${taxonomy.url}" id="project${taxonomy.id!}-tab" role="tab" data-toggle="tab" aria-controls="project${taxonomy.id!}">${taxonomy.title!}</a></li>
                        </#if>
                    </#if>
                </#list>
            </@jp.taxonomys>
            </ul>
            <div id="myTabContent" class="tab-content">
                <@jp.taxonomys module="project">
                <#list taxonomys as taxonomy>
                    <#if taxonomy.title !="PROJECTS">
                        <#if taxonomy.title =="Carpet Title">
                            <div role="tabpanel" class="tab-pane fade in active" id="project${taxonomy.id!}" aria-labelledby="project${taxonomy.id!}-tab">
                                <#else>
                                    <div role="tabpanel" class="tab-pane fade" id="project${taxonomy.id!}" aria-labelledby="project${taxonomy.id!}-tab">
                        </#if>
                        <div class="gallery-grids">
                            <#nested>
                            <div class="clearfix"> </div>
                            <script src="${CTPATH}/js/lightbox-plus-jquery.min.js"> </script>
                        </div>
            </div>
            </#if>
            </#list>
        </@jp.taxonomys>
    </div>


</div>
</div>
</div>

<@jp.contentPage >
<#list page.getList() as content>
    <a href="${content.url}">${content.title}</a> <br />
</#list>

<@pagination>
<#list pages as page>
    <a href="${page.url}">${page.text}</a>
</#list>
</@pagination>
</@jp.contentPage>
<!-- //contact -->
</@layout>
</#macro>